package com.example.saiaadmin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.saiaadmin.dto.DTOEbSystemRole;
import com.example.saiaadmin.entry.EbSystemRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 角色信息表
 *
 *  @author  Vagrant
 * @since 2025/01/13
 */
@Mapper
public interface EbSystemRoleMapper extends BaseMapper<EbSystemRole> {
    List<DTOEbSystemRole> getList(Integer id);
    List<DTOEbSystemRole> getByUserIdList(Integer userId);

    List<DTOEbSystemRole> gettreeList(DTOEbSystemRole role);
}
